﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteIntranet.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    RegistrarAreaComun
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <script src="<%: Url.Content("~/Scripts/Validaciones.js") %>" type="text/javascript"></script>
    <script src="<%: Url.Content("~/Scripts/AreaComun.js") %>" type="text/javascript"></script>

    <div id="Registrar"> 
    <h2>Registrar Área Común</h2>
    <br />

    <label class="Obligatorio">Los campos con (*) son obligatorios</label><br></br>
                     
    <label>Edificio: (*)</label>
    <select id="RegSctEdificio" onchange="cargarPisosRegistrar()" class="text ui-widget-content ui-corner-all"></select>
    <br></br>
                 
    <label>Tipo: (*)</label>
    <select id="RegSctTipo" class="text ui-widget-content ui-corner-all"></select>
    <br></br>

    <label>Piso: (*)</label>
    <select id="RegSctPiso" class="text ui-widget-content ui-corner-all"></select>
    <br></br>

    <label>Área: (*)</label>
    <input type="text" id="RegTbxArea" class="text ui-widget-content ui-corner-all" maxlength="18"/>
    <label id="RegLblErrorArea" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>Ubicación:</label>
    <input type="text" id="RegTbxUbicacion" class="text ui-widget-content ui-corner-all" maxlength="50"/>
    <label id="RegLblErrorUbicacion" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label>Reservable: (*)</label>
    <input name="RegRbnReservable" type="radio" value="1" style="width:auto;" class="text ui-widget-content ui-corner-all"/><label style="width:10px; text-align:left">Sí</label>
    <input name="RegRbnReservable" type="radio" value="2" style="width:auto;" class="text ui-widget-content ui-corner-all"/><label style="width:10px; text-align:left">No</label>
    <br></br>

    <input type="submit" id = "RegBtnRegistrar" value="Registrar" class="submit-button"/>
    <input type="submit" id = "RegBtnCancelar" value="Cancelar" class="submit-button" />
    </div>
    <div id="Modificar"></div>
    <div id="Eliminar"></div>
    <div id="Buscar"></div>

</asp:Content>
